package usbcali.edu.dataaccess.dao;

import usbcali.edu.persistencia.Restaurantes;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for RestaurantesDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IRestaurantesDAO {
    public void save(Restaurantes instance);

    public void delete(Restaurantes instance);

    public void update(Restaurantes instance);

    public Restaurantes findById(String id);

    public List<Restaurantes> findByExample(Restaurantes instance);

    public List<Restaurantes> findByProperty(String propertyName, Object value);

    public List<Restaurantes> findAll();

    public List<Restaurantes> findByCriteria(String whereCondition);

    public List<Restaurantes> findPageRestaurantes(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberRestaurantes();

    public List<Restaurantes> findByCodResta(Object codResta);

    public List<Restaurantes> findByEstado(Object estado);

    public List<Restaurantes> findByResNosmbre(Object resNosmbre);

    public List<Restaurantes> findByResValorAlimento(Object resValorAlimento);
}
